/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package accessor;

/**
 *
 * @author QUYET
 */
public class OrderDetail {
    private int orderDetailID;
    private int quantity;
    private Double price;
    private Double totalPrice;
    private Products products;

    public OrderDetail() {
    }

    public OrderDetail(int orderDetailID, int quantity, Double price, Double totalPrice, Products products) {
        this.orderDetailID = orderDetailID;
        this.quantity = quantity;
        this.price = price;
        this.totalPrice = totalPrice;
        this.products = products;
    }

    public int getOrderDetailID() {
        return orderDetailID;
    }

    public void setOrderDetailID(int orderDetailID) {
        this.orderDetailID = orderDetailID;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Products getProducts() {
        return products;
    }

    public void setProducts(Products products) {
        this.products = products;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public Double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Double totalPrice) {
        this.totalPrice = totalPrice;
    }
    
}
